<?php
  // put full path to Smarty.class.php
  $prj_root = $_SERVER['DOCUMENT_ROOT'].'/catfly';  
  require('Smarty.class.php');
  $smarty = new Smarty();
  $smarty->template_dir = $prj_root.'/smarty/templates';
  $smarty->compile_dir = $prj_root.'/smarty/templates_c';
  $smarty->cache_dir =$prj_root.'/smarty/cache';
  $smarty->config_dir =$prj_root.'/smarty/configs';
  #$smarty ->debugging = true; 
?>